//
//  AboutMeViewController.m
//  明和智能
//
//  Created by 李李善 on 2018/8/24.
//  Copyright © 2018年 inno. All rights reserved.
//

#import "AboutMeViewController.h"

@interface AboutMeViewController ()

@end

@implementation AboutMeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

-(void)onLoadViewByWillAppear:(UIView *)view
{
    UILabel *label = ({
        UILabel *l  = [UILabel new];
        l.text = @"智能明和集团有限公司.copyright";
        l.font = kSysFont(kFitW(12));
        l.textColor = hexCOLOR(@"C7C7C7");
        [view addV:l];
        l;
    });
    
    UIView *bj = ({
        UIView *l  = [UIView new];
        l.backgroundColor = hexCOLOR(@"E2AD3C");
        l.cornerRadius = 5;
        [view addV:l];
        l;
    });
    
    UILabel *label1 = ({
        UILabel *l  = [UILabel new];
        l.text = @"便民停车";
        l.font = kSysFont(kFitW(12));
        l.textColor =[UIColor blackColor];
        [view addV:l];
        l;
    });
    
    UILabel *label2 = ({
        UILabel *l  = [UILabel new];
        l.text = @"-V1.0-";
        l.font = kSysFont(kFitW(12));
        l.textColor = hexCOLOR(@"C7C7C7");
        [view addV:l];
        l;
    });
    
    
    [self onMainQueueAddSub:^(UIView *view, CGPoint origin, CGSize size, CGPoint center) {
        bj.size = CGSizeMake(kFitW(80), kFitW(80));
        bj.top = kFitH(55);
        bj.centerX = size.width/2;
        
        [label1 sizeToFit];
        label1.centerX = size.width/2;
        label1.top = bj.bottom +kFitH(10);
        
        [label2 sizeToFit];
        label2.centerX = size.width/2;
        label2.top = label1.bottom +kFitH(10);
        
        [label sizeToFit];
        label.centerX = size.width/2;
        label.bottom = size.height-kFitH(10);
        
        
    }];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
